package com.lhkj.ct.meta.modules.gauge.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;

/**
  * <p>
  *     描述：项目字典
  * </p>
  */
public enum DiagItemType implements IEnum<Integer> {

    MEASURE(1,"测量"),
    TREAT(2,"治疗"),
    ;


    @EnumValue
    private final int code;

    private final String desc;

    DiagItemType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public Integer getValue() {
        return code;
    }

    @Override
    public String toString() {
        return desc;
    }
}
